package com.crm.service.coursearrange;

import com.crm.model.entity.coursearrange.CourseArrange;
import com.crm.model.qo.courseregist.CourseListQO;
import com.crm.model.vo.courseregist.CourseListVO;

import java.util.List;

public interface CourseArrangeDbService {

    /**
     * @Description: 获取课程列表
     * @Param: [deleteStatus]
     * @Return: java.util.List<com.crm.model.entity.coursearrange.CourseArrange>
     * @Author: lixq-f
     * @Date: 2021/5/11
    **/
    List<CourseArrange> selectListByAccountId(Short deleteStatus);


    /**
     * @Description: 获取课程列表
     * @Return: java.util.List<com.crm.model.vo.courseregist.CourseListVO>
     * @Author: lixq-f
     * @Date: 2021/5/11
    **/
    List<CourseListVO> selectCourseList(CourseListQO courseListQO, String order);


    /**
     * @Description: 根据主键获取课程信息
     * @Param: [id]
     * @Return: com.crm.model.entity.coursearrange.CourseArrange
     * @Author: lixq-f
     * @Date: 2021/5/11
    **/
    CourseArrange getCourseById(String id);


    /**
     * @Description: 更新课程信息
     * @Param: [course]
     * @Return: java.lang.Boolean
     * @Author: lixq-f
     * @Date: 2021/5/11
    **/
    Boolean update(CourseArrange course);
}
